import request from '@/utils/request'


// 获取公司部门
export const getWorkApi = (query = '') => {
  return request({
    url: '/system/user/deptTree',
    method: 'get',
    params: query,
  })
}
// 获取部门人员
export const getDeptTree = (query = '') => {
  return request({
    url: '/system/user/list',
    method: 'get',
    params: query,
  })
}
export const listTreeApi = (query = '') => {
  return request({
    url: '/system/dept/listTree',
    method: 'get',
    params: query,
  })
}